package com.library.service;

import com.library.entity.Books;

import java.util.List;

/**
 * Created by Administrator on 2017/6/13.
 */
public interface BooksService {

    List<Books> search(String bookName);
    List<Books> filter(String type);
    List<Books> allBooks(int pageoffset);
    List<Books> pageSize();
    Books findById(int id);
    void updateBooks(Books books);
}
